import axios from "axios"

// 配置axios默认的基础地址
axios.defaults.baseURL="/api"
// get请求
export const getProduct = () => axios.get("/data/index.json")


// post
export const login=()=>axios.post("/users/login")